﻿<%@ page language="java" contentType="text/html; charset=UTF-8" trimDirectiveWhitespaces="true"
    pageEncoding="UTF-8"%>
<%@ page import="java.util.Date"%>    
<%@ include file="/WEB-INF/views/include.inc.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>通用定制</title>

<link href="${contextPath}/resources/styles/dwz/themes/default/style.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="${contextPath}/resources/styles/dwz/themes/css/core.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="${contextPath}/resources/styles/dwz/themes/css/print.css" rel="stylesheet" type="text/css" media="print"/>
<link href="${contextPath}/resources/styles/ztree/css/zTreeStyle.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="${contextPath}/resources/styles/uploadify/css/uploadify.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="${contextPath}/resources/styles/treeTable/themes/default/treeTable.css" rel="stylesheet" type="text/css" />
<link href="${contextPath}/resources/styles/keta/css/keta.css" rel="stylesheet" type="text/css" />
<!--[if IE]>
<link href="${contextPath}/resources/styles/dwz/themes/css/ieHack.css" rel="stylesheet" type="text/css" media="screen"/>
<![endif]-->

<!--[if lte IE 9]>
<script src="${contextPath}/resources/styles/dwz/js/speedup.js" type="text/javascript"></script>
<![endif]-->
<script src="${contextPath}/resources/styles/jquery/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="${contextPath}/resources/styles/jquery/jquery.cookie.js" type="text/javascript"></script>
<script src="${contextPath}/resources/styles/jquery/jquery.validate.js" type="text/javascript"></script>

<!-- form验证 -->
<link rel="stylesheet" href="${contextPath}/resources/styles/validationEngine/css/validationEngine.jquery.css" type="text/css"/>
<script src="${contextPath}/resources/styles/jquery/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="${contextPath}/resources/styles/validationEngine/js/languages/jquery.validationEngine-zh_CN.js" type="text/javascript" charset="utf-8"></script>
<script src="${contextPath}/resources/styles/validationEngine/js/jquery.validationEngine-2.6.4.js" type="text/javascript" charset="utf-8"></script>

<script src="${contextPath}/resources/styles/jquery/jquery.bgiframe.js" type="text/javascript"></script>
<script src="${contextPath}/resources/styles/xheditor/xheditor-1.2.1.min.js" type="text/javascript"></script>
<script src="${contextPath}/resources/styles/xheditor/xheditor_lang/zh-cn.js" type="text/javascript"></script>
<script src="${contextPath}/resources/styles/uploadify/scripts/jquery.uploadify.min.js" type="text/javascript"></script>
<script src="${contextPath}/resources/styles/ztree/js/jquery.ztree.all-3.5.min.js" type="text/javascript"></script>
<script src="${contextPath}/resources/styles/treeTable/jquery.treeTable.min.js" type="text/javascript"></script>

<script src="${contextPath}/resources/styles/dwz/js/dwz.min.js" type="text/javascript"></script>
<script src="${contextPath}/resources/styles/dwz/js/dwz.regional.zh.js" type="text/javascript"></script>

<script src="${contextPath}/resources/styles/dwz/js/customer.js" type="text/javascript"></script>
<script src="${contextPath}/resources/styles/keta/js/keta.js" type="text/javascript"></script>



<script type="text/javascript">
$(function(){
	DWZ.init("${contextPath}/resources/styles/dwz/dwz.frag.xml", {
		loginUrl:"${contextPath}/login/timeout", 
		loginTitle:"登录",	// 弹出登录对话框
		debug:false,	// 调试模式 【true|false】
		callback:function(){
			initEnv();
			$("#themeList").theme({themeBase:"${contextPath}/resources/styles/dwz/themes"});
			//setTimeout(function() {$("#sidebar .toggleCollapse div").trigger("click");}, 10);
		}
	});
});
</script>
</head>

<body scroll="no">
	<div id="layout">
		<div id="header">
			<div class="headerNav">
				<a class="logo" href="http://j-ui.com">标志</a>
				
				<ul class="nav">
					<li style="list-style: none;"><strong style="font-sie:16px;color:#b9ccda">${welcome}</strong></li>
					<li><a href="changepwd.html" target="dialog" width="600">设置</a></li>
					<shiro:hasPermission name="User:updateInfo">
					<li><a href="${contextPath}/user/updateInfo" target="dialog" mask="true">修改个人信息</a></li>
					</shiro:hasPermission>
					<shiro:hasPermission name="User:updatePwd">
					<li><a target="dialog"  rel="callback" width="520" height="230" mask="true"  href="${contextPath}/user/updatePwd" ><span>修改密码</span></a></li>
					</shiro:hasPermission>
					<li><a href="${contextPath}/logout">退出</a></li>
				</ul>
				
				<ul class="themeList" id="themeList">
					<li theme="default"><div class="selected">蓝色</div></li>
					<li theme="green"><div>绿色</div></li>
					<!--<li theme="red"><div>红色</div></li>-->
					<li theme="purple"><div>紫色</div></li>
					<li theme="silver"><div>银色</div></li>
					<li theme="azure"><div>天蓝</div></li>
				</ul>
			</div>
		
			
		</div>

		<div id="leftside">
			<div id="sidebar_s">
				<div class="collapse">
					<div class="toggleCollapse"><div></div></div>
				</div>
			</div>
			<div id="sidebar">
				<dwz:menuAccordion urlPrefix="${contextPath}" menuData="${menuModule}" />
			</div>
		</div>
		<div id="container">
			<div id="navTab" class="tabsPage">
				<div class="tabsPageHeader">
					<div class="tabsPageHeaderContent"><!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
						<ul class="navTab-tab">
							<li tabid="main" class="main"><a href="javascript:;"><span><span class="home_icon">我的主页</span></span></a></li>
						</ul>
					</div>
					<div class="tabsLeft">left</div><!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
					<div class="tabsRight">right</div><!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
					<div class="tabsMore">more</div>
				</div>
				<ul class="tabsMoreList">
					<li><a href="javascript:;">我的主页</a></li>
				</ul>
				<div class="navTab-panel tabsPageContent layoutBox">
					<div class="page unitBox">
						<div class="accountInfo">
							<div class="alertInfo">
								<h2><a href="doc/dwz-user-guide.pdf" target="_blank">DWZ框架使用手册(PDF)</a></h2>
								<a href="doc/dwz-user-guide.swf" target="_blank">DWZ框架演示视频</a>
							</div>
							<div class="right">
								<p><a href="doc/dwz-user-guide.zip" target="_blank" style="line-height:19px">DWZ框架使用手册(CHM)</a></p>
								<p><a href="doc/dwz-ajax-develop.swf" target="_blank" style="line-height:19px">DWZ框架Ajax开发视频教材</a></p>
							</div>
							<p><span>DWZ富客户端框架</span></p>
							<p><a href="/login_dialog" target="dialog" mask="true">登录框</a></p>
						</div>
						<div class="pageFormContent" layoutH="80">
							
						</div>
					</div>
					
				</div>
			</div>
		</div>

	</div>

	<div id="footer">版权 &copy; 2015-2016 版权所有</div>
</body>
</html>
<script type="text/javascript">  
//处理键盘事件，屏蔽退格键造成的浏览器后退
function doKey(e){  
    var ev = e || window.event;//获取event对象  
    var obj = ev.target || ev.srcElement;//获取事件源  
    var t = obj.type || obj.getAttribute('type');//获取事件源类型  
    if(ev.keyCode == 8 && t != "password" && t != "text" && t != "textarea"){  
        return false;  
    }  
}  
//禁止后退键 作用于Firefox、Opera  
document.onkeypress=doKey;  
//禁止后退键  作用于IE、Chrome  
document.onkeydown=doKey;  
</script>  